package com.wyy.service;

import com.wyy.bean.Role;

import java.util.List;

public interface RoleService {
    
    public List<Role> getList();
    public List<Role> getRoleList(int pageIndex,int pageSize);
    public int total();
    public int insertRole(String roleName,String state,String[] ids);
    public int deleteRole(int roleId);
    public Role findById(int roleId);
    public int updateRole(Role role,String[] menuIds);
}
